ACTOR "Battlelord Gladiator" : "Battlelord Sentry" 31120
{
    //$Category DN3D Aliens //Sentry Bosses
	Obituary "%o was destroyed by a Battlelord Gladiator."
    Health 2500
    Mass 25000
	DropItem "Explosive Chaingun" 100 50
	DropItem "Chaingun Ammo" 128 50
	Decal "ExplosiveShotgunLightning"
	States
    {
	Spawn:
        MIB3 A 0
        MIB3 A 0 Thing_ChangeTID(0,1000)
        MIB3 A 2 A_Look
        Loop
	See:
        MIB3 AABB 3 A_Chase
	    MIB3 B 0 A_SpawnItem("AlienStep8",0,0,0,0)
		MIB3 CCDD 3 A_Chase 
	    MIB3 D 0 A_SpawnItem("AlienStep8",0,0,0,0)
        Loop
    Missile:  
        MIB3 G 0 A_JumpIfCloser(800,"Minigun")
		MIB3 G 0 A_JumpIfCloser(1000,"Missile1")
		MIB3 G 0 A_JumpIfCloser(1200,"Missile2")
		MIB3 G 0 A_JumpIfCloser(1400,"Missile3")
		MIB3 G 0 A_JumpIfCloser(1600,"Missile4")
		MIB3 G 0 A_JumpIfCloser(1800,"Missile5")
		MIB3 G 0 A_JumpIfCloser(2000,"Missile6")
		MIB3 G 0 A_JumpIfCloser(2200,"Missile7")
		MIB3 G 0 A_JumpIfCloser(2400,"Missile8")
		MIB3 G 0 A_JumpIfCloser(2600,"Missile9")
		MIB3 G 0 A_JumpIfCloser(2800,"Missile10")
		MIB3 G 0 A_JumpIfCloser(3000,"Missile11")
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack12",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack12",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack12",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack12",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack12",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack12",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
	Minigun:
	    MIB3 E 0 A_Jump(64,21)
		MIB3 E 0 A_PlayWeaponSound("ExplosiveChaingun/Shoot")
		MIB3 E 0 A_FaceTarget
		MIB3 F 2 Bright A_CustomMissile("GladiatorBulletExplosive",27,16,Random(-1,1))
        MIB3 E 3 
		MIB3 E 0 A_PlayWeaponSound("ExplosiveChaingun/Shoot")
		MIB3 E 0 A_FaceTarget
		MIB3 F 2 Bright A_CustomMissile("GladiatorBulletExplosive",27,16,Random(-1,1))
        MIB3 E 3 
		MIB3 E 0 A_PlayWeaponSound("ExplosiveChaingun/Shoot")
		MIB3 E 0 A_FaceTarget
		MIB3 F 2 Bright A_CustomMissile("GladiatorBulletExplosive",27,16,Random(-1,1))
        MIB3 E 3 
		MIB3 E 0 A_PlayWeaponSound("ExplosiveChaingun/Shoot")
		MIB3 E 0 A_FaceTarget
		MIB3 F 2 Bright A_CustomMissile("GladiatorBulletExplosive",27,16,Random(-1,1))
        MIB3 E 3 
		MIB3 E 0 A_PlayWeaponSound("ExplosiveChaingun/Shoot")
		MIB3 E 0 A_FaceTarget
		MIB3 F 2 Bright A_CustomMissile("GladiatorBulletExplosive",27,16,Random(-1,1))
        MIB3 E 3 A_CPosRefire
        Goto Minigun+1
		MIB3 E 1 A_JumpIfCloser(512,"LowGrenade")
		MIB3 E 1 A_JumpIfCloser(725,"Grenade")
		Goto Minigun+1
	Grenade:
	    MIB3 G 14 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("PigCopNade",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("PigCopNade",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("PigCopNade",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		Goto See
	LowGrenade:
	    MIB3 G 14 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		Goto See
	Missile1:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack1",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack1",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack1",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack1",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack1",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack1",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
    Missile2:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack2",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack2",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack2",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack2",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack2",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack2",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
	Missile3:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack3",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack3",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack3",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack3",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack3",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack3",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
	Missile4:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack4",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack4",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack4",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack4",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack4",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack4",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
	Missile5:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack5",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack5",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack5",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack5",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack5",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack5",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
	Missile6:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack6",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack6",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack6",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack6",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack6",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack6",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
	Missile7:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack7",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack7",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack7",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack7",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack7",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack7",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
	Missile8:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack8",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack8",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack8",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack8",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack8",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack8",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
	Missile9:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack9",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack9",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack9",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack9",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack9",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack9",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
	Missile10:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack10",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack10",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack10",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack10",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack10",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack10",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
	Missile11:
	    MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack11",22,10,0,2,32)
        MIB3 H 15 Bright 
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack11",22,10,0,2,32)
        MIB3 H 15 Bright
        MIB3 G 15 A_FaceTarget
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack11",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack11",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack11",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
		MIB3 G 0 A_Jump(64,1)
        Goto See
        MIB3 G 0 A_FaceTarget
        MIB3 A 0 A_PlayWeaponSound("Rpg/Shoot")
        MIB3 H 0 A_CustomMissile("BattlelordAttack11",22,10,0,2,32)
        MIB3 H 15 Bright
		MIB3 G 15 
        Goto See
    Pain:
        MIB3 O 0
        MIB3 O 10 A_Pain
        Goto See
    Pain.Radial:
        MIB3 O 0
        MIB3 O 0 HealThing(2)
        Goto See
    Pain.LaserShot:
        MIB3 O 0
		MIB3 O 0 A_SpawnItemEx("PainTripLaser",0,0,5)
		MIB3 O 0 HealThing(2)
		Goto See
	Death:
	    MIB3 I 0
        MIB3 I 0 A_Jump(128,1,7)
		MIB3 I 20 A_Scream
        MIB3 J 10
        MIB3 K 10 A_NoBlocking
        MIB3 L 10 A_KillMaster
		MIB3 M 10
		MIB3 N -1 
        Stop
		MI23 I 20 A_Scream
        MI23 J 10
        MI23 K 10 A_NoBlocking
        MI23 L 10 A_KillMaster
		MI23 M 10
		MI23 N -1 
        Stop
    Death.Damage_Shrinker:
        MIB3 A 0
        MIB3 A 10 A_PlaySound("Shrinker/Shrink")
		MIB3 A 1 A_SetScale(0.70,0.70)
        MIB3 A 1 A_SetScale(0.68,0.68)
        MIB3 A 1 A_SetScale(0.66,0.66)
        MIB3 A 1 A_SetScale(0.64,0.64)
        MIB3 A 1 A_SetScale(0.62,0.62)
        MIB3 A 1 A_SetScale(0.60,0.60)
        MIB3 A 1 A_SetScale(0.58,0.58)
        MIB3 A 1 A_SetScale(0.56,0.56)
        MIB3 A 1 A_SetScale(0.54,0.54)
        MIB3 A 1 A_SetScale(0.52,0.52)
        MIB3 A 1 A_SetScale(0.50,0.50)
        MIB3 A 1 A_SetScale(0.48,0.48)
        MIB3 A 1 A_SetScale(0.46,0.46)
        MIB3 A 1 A_SetScale(0.44,0.44)
        MIB3 A 1 A_SetScale(0.42,0.42)
        MIB3 A 1 A_SetScale(0.40,0.40)
        MIB3 A 1 A_SetScale(0.38,0.38)
        MIB3 A 1 A_SetScale(0.36,0.36)
        MIB3 A 1 A_SetScale(0.34,0.34)
        MIB3 A 1 A_SetScale(0.32,0.32)
        MIB3 A 1 A_SetScale(0.30,0.30)
        MIB3 A 1 A_SetScale(0.28,0.28)
        MIB3 A 1 A_SetScale(0.26,0.26)
        MIB3 A 1 A_SetScale(0.24,0.24)
        MIB3 A 1 A_SetScale(0.22,0.22)
        MIB3 A 1 A_SetScale(0.20,0.20)
		MIB3 A 0 A_KillMaster
		MIB3 A 0 A_SpawnItemEx("Battlelord Gladiator Shrunken",0,0,0,0,0,0,0,32,0)
        Stop
	DeathExplosion:
	    MIB3 A 0
        MIB3 A 0 A_PlaySound("Gib/Explode",5)
        MIB3 A 0 A_NoBlocking
		MIB3 A 0 A_KillMaster
        MIB3 AAAAA 0 A_SpawnDebris("DukeGibs1")
        MIB3 AAAAA 0 A_SpawnDebris("DukeGibs2")
		MIB3 AAAAA 0 A_SpawnDebris("DukeGibs3")
        MIB3 AAAAA 0 A_SpawnDebris("DukeGibs4")
        MIB3 AAAAA 0 A_SpawnDebris("DukeGibs5")		
        MIB3 AAAAAAAAAAAAA 0 A_SpawnDebris("DukeGibs6")
	    TNT1 A 1
	    Stop
    Death.Damage_Expander:
        MIB3 A 0
		MIB3 A 1 A_PlaySound("Expander/Expand",5)
		MIB3 A 1 A_SetScale(0.71,0.71)
        MIB3 A 1 A_SetScale(0.72,0.72)
		MIB3 A 1 A_SetScale(0.73,0.73)
		MIB3 A 1 A_SetScale(0.74,0.74)
		MIB3 A 1 A_SetScale(0.75,0.75)
		MIB3 A 1 A_SetScale(0.76,0.76)
		MIB3 A 1 A_SetScale(0.77,0.77)
		MIB3 A 1 A_SetScale(0.78,0.78)
		MIB3 A 1 A_SetScale(0.79,0.79)
		MIB3 A 1 A_SetScale(0.80,0.80)
		MIB3 A 1 A_SetScale(0.81,0.81)
		MIB3 A 1 A_SetScale(0.82,0.82)
		MIB3 A 1 A_SetScale(0.83,0.83)
		MIB3 A 1 A_SetScale(0.84,0.84)
		MIB3 A 1 A_SetScale(0.85,0.85)
		MIB3 A 1 A_SetScale(0.86,0.86)
		MIB3 A 1 A_SetScale(0.87,0.87)
		MIB3 A 1 A_SetScale(0.88,0.88)
		MIB3 A 1 A_SetScale(0.89,0.89)
		MIB3 A 1 A_SetScale(0.90,0.90)
		MIB3 A 1 A_SetScale(0.91,0.91)
		MIB3 A 1 A_SetScale(0.92,0.92)
		MIB3 A 1 A_SetScale(0.93,0.93)
		MIB3 A 1 A_SetScale(0.94,0.94)
		MIB3 A 1 A_SetScale(0.95,0.95)
		MIB3 A 1 A_SetScale(0.96,0.96)
		MIB3 A 1 A_SetScale(0.97,0.97)
		MIB3 A 1 A_SetScale(0.98,0.98)
		MIB3 A 1 A_SetScale(0.99,0.99)
		MIB3 A 1 A_SetScale(1.00,1.00)
		MIB3 A 1 A_SetScale(1.01,1.01)
		MIB3 A 1 A_SetScale(1.02,1.02)
		MIB3 A 1 A_SetScale(1.03,1.03)
		MIB3 A 1 A_SetScale(1.04,1.04)
		MIB3 A 1 A_SetScale(1.05,1.05)
		MIB3 A 1 A_SetScale(1.06,1.06)
		MIB3 A 1 A_SetScale(1.07,1.07)
		MIB3 A 1 A_SetScale(1.08,1.08)
		MIB3 A 1 A_SetScale(1.09,1.09)
		MIB3 A 1 A_SetScale(1.10,1.10)
		MIB3 A 1 A_SetScale(1.11,1.11)
		MIB3 A 1 A_SetScale(1.12,1.12)
		MIB3 A 1 A_SetScale(1.13,1.13)
		MIB3 A 1 A_SetScale(1.14,1.14)
        MIB3 A 25 A_SetScale(1.15,1.15)
		MIB3 A 0 A_KillMaster
        MIB3 A 0 A_SpawnItemEx("ExpanderExplosion",0,0,32,0,0,0,0,SXF_ABSOLUTEVELOCITY,0)
        Goto DeathExplosion
	}
}

ACTOR "Battlelord Gladiator Shrunken" 
{
    Health 30
    Radius 20
    Height 16
    Mass 0x7FFFFFFF
    Speed 3
    PainChance 128
    SeeSound "Lord/Sight"
    PainSound "MiniLord/Pain"
    DeathSound "Lord/Death"
    ActiveSound "MiniLord/Active"
	BloodColor "D1 0C 00" 
	Species "Alien"
    Scale 0.20
	DamageFactor "Damage_Foot", 5.0
	DamageFactor "LaserExplosion", 0.0
    DamageFactor "Damage_Shrinker", 0.0
	DamageFactor "Trip_Punch", 0.0
	Painchance "LaserShot", 256
	+ISMONSTER
	+SHOOTABLE
    +SOLID
	+NOTARGET
	+FRIGHTENED
    States
    {
    Spawn:
        MIB3 A 0 
		MIB3 A 0 A_JumpIfInventory("ShrunkenCheck",40,"Restore")
		MIB3 A 0 A_GiveInventory("ShrunkenCheck",1)
        MIB3 AAAAAAAA 3 A_Look
        Loop
    See:
	    MIB3 A 0 
		MIB3 A 0 A_JumpIfInventory("ShrunkenCheck",40,"Restore")
		MIB3 A 0 A_GiveInventory("ShrunkenCheck",1)
		MIB3 AABB 3 A_Chase
		MIB3 B 0 A_SpawnItem("AlienStep8",0,0,0,0)
		MIB3 CCDD 3 A_Chase
		MIB3 D 0 A_SpawnItem("AlienStep8",0,0,0,0)
        Loop
    Pain:
		MIB3 O 8 A_Pain
        Goto See 
	Pain.LaserShot:
	    MIB3 O 0 
		MIB3 O 0 A_SpawnItemEx("PainTripLaser",0,0,8)
		MIB3 O 0 HealThing(2)
		Goto See
	Pain.Radial:
        MIB3 O 0
        MIB3 O 0 HealThing(2)
        Goto See
	Restore:
	    MIB3 A 0
        MIB3 A 10 A_PlaySound("Shrinker/Shrink")
		MIB3 A 1 A_SetScale(0.20,0.20)
        MIB3 A 1 A_SetScale(0.22,0.22)
        MIB3 A 1 A_SetScale(0.26,0.24)
        MIB3 A 1 A_SetScale(0.24,0.24)
        MIB3 A 1 A_SetScale(0.28,0.28)
        MIB3 A 1 A_SetScale(0.30,0.30)
        MIB3 A 1 A_SetScale(0.32,0.32)
        MIB3 A 1 A_SetScale(0.34,0.34)
        MIB3 A 1 A_SetScale(0.36,0.36)
        MIB3 A 1 A_SetScale(0.38,0.38)
        MIB3 A 1 A_SetScale(0.40,0.40)
        MIB3 A 1 A_SetScale(0.42,0.42)
        MIB3 A 1 A_SetScale(0.44,0.44)
        MIB3 A 1 A_SetScale(0.46,0.46)
        MIB3 A 1 A_SetScale(0.48,0.48)
        MIB3 A 1 A_SetScale(0.50,0.50)
        MIB3 A 1 A_SetScale(0.52,0.52)
        MIB3 A 1 A_SetScale(0.54,0.54)
        MIB3 A 1 A_SetScale(0.56,0.56)
        MIB3 A 1 A_SetScale(0.58,0.58)
        MIB3 A 1 A_SetScale(0.60,0.60)
        MIB3 A 1 A_SetScale(0.62,0.62)
        MIB3 A 1 A_SetScale(0.64,0.64)
        MIB3 A 1 A_SetScale(0.66,0.66)
        MIB3 A 1 A_SetScale(0.68,0.68)
        MIB3 A 1 A_SetScale(0.70,0.70)
		MIB3 A 0 A_SpawnItemEx("Battlelord Gladiator",0,0,0,0,0,0,0,32,0)
        Stop
	Death:
	    MIB3 A 0
		MIB3 A 0 A_Stop
        MIB3 A 0 A_PlaySound("DukeNukem/DeathLittle",5)
        MIB3 A 0 A_NoBlocking
        MIB3 A 0 A_SpawnDebris("DukeGibs1")
        MIB3 A 0 A_SpawnDebris("DukeGibs2")
		MIB3 A 0 A_SpawnDebris("DukeGibs3")
        MIB3 A 0 A_SpawnDebris("DukeGibs4")
        MIB3 A 0 A_SpawnDebris("DukeGibs5")		
        MIB3 AAAAAAA 0 A_SpawnDebris("DukeGibs6")
	    TNT1 A 1
	    Stop
    }
}

ACTOR GladiatorBulletExplosive
{
	Radius 3
	Height 3
	Damage (Random(5,6))
	Speed 80
	Projectile
	Scale 0.20
	RenderStyle	Add
	DeathSound "ExplosiveShotgun/Explode"
	DamageType "BattleLordBullet"
	Decal "ExplosiveShotgunLightning"
	+BLOODSPLATTER
	+THRUGHOST
	States
	{
	Spawn:
        TRAC A 1 Bright
		Loop 
	Death:
        TNT1 A 0 
		TNT1 A 0 A_SetScale(0.95,0.95)
		TNT1 A 1 A_Jump(256,"Puff1","Puff2","Puff3","Puff4","Puff5")
	Puff1:
	    TNT1 A 0 
		TNT1 A 0 A_SpawnItemEx("DCExplosionSmall",0,0,0,Random(-6,6),0,Random(-2,6),Random(0,360),0,16)
		TNT1 A 0 A_Explode(Random(13,16),56)
		E1_A ABCDEFGH 3 Bright
        Stop
	Puff2:
	    TNT1 A 0 
		TNT1 A 0 A_SpawnItemEx("DCExplosionSmall",0,0,0,Random(-6,6),0,Random(-2,6),Random(0,360),0,16)
		TNT1 A 0 A_Explode(Random(13,16),56)
		E2_A ABCDEFGH 3 Bright
        Stop
	Puff3:
	    TNT1 A 0 
		TNT1 A 0 A_SpawnItemEx("DCExplosionSmall",0,0,0,Random(-6,6),0,Random(-2,6),Random(0,360),0,16)
		TNT1 A 0 A_Explode(Random(13,16),56)
		E3_A ABCDEFGH 3 Bright
        Stop
	Puff4:
	    TNT1 A 0 
		TNT1 A 0 A_SpawnItemEx("DCExplosionSmall",0,0,0,Random(-6,6),0,Random(-2,6),Random(0,360),0,16)
		TNT1 A 0 A_Explode(Random(13,16),56)
		E4_A ABCDEFGH 3 Bright
        Stop
	Puff5:
	    TNT1 A 0 
		TNT1 A 0 A_SpawnItemEx("DCExplosionSmall",0,0,0,Random(-6,6),0,Random(-2,6),Random(0,360),0,16)
		TNT1 A 0 A_Explode(Random(13,16),56)
		E5_A ABCDEFGH 3 Bright
        Stop
    }
}